#
# @lc app=leetcode.cn id=69 lang=python3
#
# [69] x 的平方根 
#

# @lc code=start
class Solution:
    def mySqrt(self, x: int) -> int:
        if x == 0 or x==1:
            return x
        elif x == 2:
            return 1
        return int(pow(x,0.5))
# @lc code=end

